﻿Imports System.Web.DomainServices
Imports CupsApp.Data
Imports CupsApp.Service

<HandleError()> _
Public Class HomeController
    Inherits System.Web.Mvc.Controller




    Function Index() As ActionResult
        '     Try

        '        Dim domainService As IClientDomainService = DomainServiceProxy.Create(Of CupsDomainService)()
        '       ViewData("Message") = domainService.GetClients().First().FirstName()
        '      Catch ex As Exception

        '     End Try
        Return RedirectToAction("ShowClients", "Client")


    End Function

    Function About() As ActionResult
        Return View()
    End Function
End Class
